<div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5><span><vc:i18n name="查询条件"></vc:i18n></span></h5>
                    <div class="ibox-tools" style="top:10px;">
                        <button type="button" class="btn btn-link btn-sm" style="margin-right:10px;"
                                v-on:click="_moreCondition()">{{websiteAccessLogManageInfo.moreCondition ==
                            true?'隐藏':'更多'}}
                        </button>
                    </div>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-4">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请选择日志ID','websiteAccessLogManage')"
                                       v-model="websiteAccessLogManageInfo.conditions.logId" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请选择访问IP','websiteAccessLogManage')"
                                       v-model="websiteAccessLogManageInfo.conditions.ip" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-3">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请选择访问URL','websiteAccessLogManage')"
                                       v-model="websiteAccessLogManageInfo.conditions.accessUrl" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-1">
                            <button type="button" class="btn btn-primary btn-sm"
                                    v-on:click="_queryWebsiteAccessLogMethod()">
                                <i class="glyphicon glyphicon-search"></i> <span><vc:i18n name="查询"></vc:i18n></span>
                            </button>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-4" v-if="websiteAccessLogManageInfo.moreCondition == true">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请选择登录状态','websiteAccessLogManage')"
                                       v-model="websiteAccessLogManageInfo.conditions.loginState" class=" form-control">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>
                        <vc:i18n name="网站访问日志信息" namespace="websiteAccessLogManage"></vc:i18n>
                    </h5>
                </div>
                <div class="ibox-content">
                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                            <tr>
                                <th class="text-center">
                                    <vc:i18n name='日志ID' namespace='websiteAccessLogManage'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='访问IP' namespace='websiteAccessLogManage'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='访问时间' namespace='websiteAccessLogManage'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='访问URL' namespace='websiteAccessLogManage'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='登录状态' namespace='websiteAccessLogManage'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='登录人名称' namespace='websiteAccessLogManage'></vc:i18n>
                                </th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr v-for="websiteAccessLog in websiteAccessLogManageInfo.websiteAccessLogs">
                                <td class="text-center">{{websiteAccessLog.logId}}</td>
                                <td class="text-center">{{websiteAccessLog.ip}}</td>
                                <td class="text-center">{{websiteAccessLog.accessTime}}</td>
                                <td class="text-center">{{websiteAccessLog.accessUrl}}</td>
                                <td class="text-center">{{websiteAccessLog.loginState == 0 ? '未登录' : '已登录'}}</td>
                                <td class="text-center">{{websiteAccessLog.loginName || '-'}}</td>
                            </tr>
                        </tbody>
                        <tfoot>
                        <tr>
                            <td colspan="7">
                                <ul class="pagination float-right"></ul>
                            </td>
                        </tr>
                        </tfoot>
                    </table>
                    <!-- 分页 -->
                    <vc:create path="frame/pagination"></vc:create>
                </div>
            </div>
        </div>
    </div>
</div>
